package com.sugon.modules.analyse.model.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 模具单台成本统计
 *
 * @Author YuXD
 * @Version 1.0
 * @since 2023-02-27
 */
@NoArgsConstructor
@Data
public class MoldTypeCostStatVO implements Serializable {

    /**
     * 模具类型ID
     */
    private String moldTypeId;

    /**
     * 模具类型名称
     */
    private String moldTypeName;

    /**
     * 单台组成数
     */
    private Integer num;

    /**
     * 理论单台成本
     */
    private BigDecimal theorySingleCost;

    /**
     * 实际单台成本
     */
    private BigDecimal actualSingleCost;

    public MoldTypeCostStatVO(String moldTypeId, String moldTypeName) {
        this.moldTypeId = moldTypeId;
        this.moldTypeName = moldTypeName;
        this.num = 0;
        this.theorySingleCost = BigDecimal.ZERO;
        this.actualSingleCost = BigDecimal.ZERO;
    }
}
